package net.zoneland.geological.device.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.UUID;

/**
 * 表   名：TBL_DEVICE<br/>
 * 注   释：<br/>
 * 作   者：李义<br/>
 * 日   期：2017-06-01 19:43:35
**/
public class Tbl_device implements Serializable { 

	private static final long serialVersionUID = 1L;

	/**
	 * 
	**/
	public Integer getData(){
		return this.data;
	}

	/**
	 * 
	**/
	public void setData(Integer _data ){
		this.data = _data;
	}

	/**
	 * 
	**/
	public Integer getVersion(){
		return this.version;
	}

	/**
	 * 
	**/
	public void setVersion(Integer _version ){
		this.version = _version;
	}

	/**
	 * 
	**/
	public String getId(){
		return this.id == null ? "":this.id.trim() ;
	}

	/**
	 * 
	**/
	public void setId(String _id ){
		this.id = ( _id == null ? "":_id.trim() );
	}

	/**
	 * 
	**/
	public Integer getStatus(){
		return this.status;
	}

	/**
	 * 
	**/
	public void setStatus(Integer _status ){
		this.status = _status;
	}

	/**
	 * 
	**/
	public Date getCreate_time(){
		return this.create_time;
	}

	/**
	 * 
	**/
	public void setCreate_time(Date _create_time ){
		this.create_time = _create_time;
	}

	/**
	 * 
	**/
	public Date getUpdate_time(){
		return this.update_time;
	}

	/**
	 * 
	**/
	public void setUpdate_time(Date _update_time ){
		this.update_time = _update_time;
	}

	/**
	 * 
	**/
	public Integer getDeleted(){
		return this.deleted;
	}

	/**
	 * 
	**/
	public void setDeleted(Integer _deleted ){
		this.deleted = _deleted;
	}

	/**
	 * 
	**/
	public String getName(){
		return this.name == null ? "":this.name.trim() ;
	}

	/**
	 * 
	**/
	public void setName(String _name ){
		this.name = ( _name == null ? "":_name.trim() );
	}

	/**
	 * 
	**/
	public String getNo(){
		return this.no == null ? "":this.no.trim() ;
	}

	/**
	 * 
	**/
	public void setNo(String _no ){
		this.no = ( _no == null ? "":_no.trim() );
	}

	/**
	 * 类属性声明
	**/
	/**
	 * 
	**/
	private Integer data = 0;
	/**
	 * 
	**/
	private Integer version = 0;
	/**
	 * 
	**/
	private String id =  UUID.randomUUID().toString();
	/**
	 * 
	**/
	private Integer status = 0;
	/**
	 * 
	**/
	private Date create_time = null;
	/**
	 * 
	**/
	private Date update_time = null;
	/**
	 * 
	**/
	private Integer deleted = 0;
	/**
	 * 
	**/
	private String name = "";
	/**
	 * 
	**/
	private String no = "";
}
